package p270jp.pxv.android.model;

import android.support.p024v4.media.C0261e;
import com.google.android.gms.ads.C2047a;
import java.io.Serializable;
import p014ae.C0172v6;
import p325m0.MutabilityOwnership;

/* compiled from: PixivPrivacyPolicy.kt */
/* renamed from: jp.pxv.android.model.PixivPrivacyPolicy */
/* loaded from: classes2.dex */
public final class PixivPrivacyPolicy implements Serializable {
    public static final int $stable = 0;
    private final String message;
    private final String url;
    private final String version;

    public PixivPrivacyPolicy(String str, String str2, String str3) {
        MutabilityOwnership.m3745m(str, "version");
        MutabilityOwnership.m3745m(str2, "message");
        MutabilityOwnership.m3745m(str3, "url");
        this.version = str;
        this.message = str2;
        this.url = str3;
    }

    public static /* synthetic */ PixivPrivacyPolicy copy$default(PixivPrivacyPolicy pixivPrivacyPolicy, String str, String str2, String str3, int i, Object obj) {
        if ((i & 1) != 0) {
            str = pixivPrivacyPolicy.version;
        }
        if ((i & 2) != 0) {
            str2 = pixivPrivacyPolicy.message;
        }
        if ((i & 4) != 0) {
            str3 = pixivPrivacyPolicy.url;
        }
        return pixivPrivacyPolicy.copy(str, str2, str3);
    }

    public final String component1() {
        return this.version;
    }

    public final String component2() {
        return this.message;
    }

    public final String component3() {
        return this.url;
    }

    public final PixivPrivacyPolicy copy(String str, String str2, String str3) {
        MutabilityOwnership.m3745m(str, "version");
        MutabilityOwnership.m3745m(str2, "message");
        MutabilityOwnership.m3745m(str3, "url");
        return new PixivPrivacyPolicy(str, str2, str3);
    }

    @Override // java.lang.Object
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof PixivPrivacyPolicy)) {
            return false;
        }
        PixivPrivacyPolicy pixivPrivacyPolicy = (PixivPrivacyPolicy) obj;
        return MutabilityOwnership.m3749h(this.version, pixivPrivacyPolicy.version) && MutabilityOwnership.m3749h(this.message, pixivPrivacyPolicy.message) && MutabilityOwnership.m3749h(this.url, pixivPrivacyPolicy.url);
    }

    public final String getMessage() {
        return this.message;
    }

    public final String getUrl() {
        return this.url;
    }

    public final String getVersion() {
        return this.version;
    }

    @Override // java.lang.Object
    public int hashCode() {
        return this.url.hashCode() + C0172v6.m12134a(this.message, this.version.hashCode() * 31, 31);
    }

    @Override // java.lang.Object
    public String toString() {
        StringBuilder c = C0261e.m12042c("PixivPrivacyPolicy(version=");
        c.append(this.version);
        c.append(", message=");
        c.append(this.message);
        c.append(", url=");
        return C2047a.m8800b(c, this.url, ')');
    }
}
